TEMPLATE = lib
TARGET = RenderEngine
QT += qml quick concurrent
CONFIG += plugin c++14

DEFINES += PANGUPLUGIN_LIBRARY

TARGET = $$qtLibraryTarget($$TARGET)
uri = RenderEngine

# Input
SOURCES += \
    canvas/CanvasHandler.cpp \
    RePlugin.cpp \
    canvas/CanvasToolBarModel.cpp \
    canvas/FigureMap.cpp

HEADERS += \
        canvas/CanvasHandler.h \
        RePlugin.h \
        canvas/CanvasToolBarModel.h \
        canvas/FigureMap.h

INCLUDEPATH += \
    $$PWD/../include/

DESTDIR += \
    $$PWD/../lib/RenderEngine

DLLDESTDIR += \
    $$PWD/../bin/RenderEngine

LIBS += \
    $$PWD/../lib/libTcpManager.a    \
    $$PWD/../lib/libserializeLib.a  \
    $$PWD/../lib/libprotobuf.a


DISTFILES = qmldir

# 拷贝到Makefile路径下面
TARGET += qmldir

RESOURCES += \
    ReEngine.qrc
